package org.vin.base.domian.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.vin.base.domian.entity.User;

public interface UserRepository extends JpaRepository<User, Long> {

    User findByUserName(String userName);
    User findByUserNameOrEmail(String username, String email);

}
